// moreusing/moreusing.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    allBookList:[],
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    let app = getApp()
    var allUsingBookList = app.globalData.allUsingBookList
    this.setData({
      allBookList :allUsingBookList
    })
  },
  goToCatalog:function(event){
    
    let id = event.currentTarget.dataset.bookId
    let bookAbbr = event.currentTarget.dataset.bookAbbr

    wx.navigateTo({
      url: '/pages/catalog/catalog?bookId='+id+"&bookAbbr=" + bookAbbr,
    })
  },
  onReady: function () {

  },
  onShow: function () {

  },
  onHide: function () {

  },
  onUnload: function () {

  },
  DownRefresh: function () {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {

  }
})